/*
 * keyboard.c
 *
 *  Created on: Mar 11, 2012
 *      Author: User
 */

#include "keyboard.h"
#include <stdio.h>

void run_keyboard(void* ptr) {
	int* flag = (int*)ptr;
	while(1) {
		if(*flag == 1){
			getchar();
			*flag = 0;
		}
	}
}
